from ftllibs.items.itemtools import ItemIconData

class Item_3065():
    def __init__(self):
        self.parent=False
        self.Name="Spirit Visage"
        self.IconFileName="3065.png"
        self.ID=3065
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3067','1028','1033']
        self.Builds_Into=[]
        self.Tags=['health','spell_block','cooldown_reduction']
        self.Costs = 300
        self.Total_Costs = 1550
        self.Description="+30 Magic Resist +250 Health  UNIQUE Passive: +10% Cooldown Reduction  UNIQUE Passive: Increases your healing and regeneration effects on yourself by 15%."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Magic_Resist += 30.0
        self.parent.Health += 250.0
        self.parent.Cooldown_Reduction += 10.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


